﻿header {
    background-color: #4a3275;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
    font-size: 1rem;
}

    header.navbar {
        font-size: 1rem;
    }

    header .nav-link img {
        height: 24px;
        width: auto;
    }

.header-img {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 0;
}

    .header-img img {
        width: 40px;
        height: auto;
        border-radius: 6px;
        border: solid 1px rgba(255, 255, 255, 0.5);
        margin-right: 1rem;
    }

.btn-bd-download {
    font-weight: 600;
    color: #ffe484;
    border-color: #ffe484;
}

    .btn-bd-download:active, .btn-bd-download:hover {
        color: #2a2730;
        background-color: #ffe484;
        border-color: #ffe484;
    }

section {
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .nav-item {
    font-size: 0.875rem;
    padding-left: 6px;
}

    .sidebar .nav-item a {
        color: #444;
        border-radius: 4px;
        display: flex;
        align-items: center;
        padding: .25rem 1.5rem;
        font-weight: 400;
    }

.sidebar-content {
    padding: 1rem 0;
}

.sidebar .top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    background-color: rgb(60, 40, 97);
}

.content {
    color: #495057;
}

    .content h2, .content h3, .content h4 {
        font-weight: 400;
        color: #1f2f3d;
    }

        .content h3:not(:first-child) {
            margin-top: 2rem;
        }

    .content h4 {
        margin-top: 1.5rem;
        font-size: 1.2rem;
    }

    .content h5 {
        font-size: 1rem;
        line-height: 1.5;
    }

    .content .alert:last-child {
        margin-bottom: 0;
    }

    .content .card-demo {
        transition: all .3s linear;
    }

    .content .card .row, .content .card .form-row {
        flex: 1 1 auto;
    }

    .content .card-demo:hover {
        box-shadow: 0 0 8px 0 rgba(232,237,250,.6), 0 2px 4px 0 rgba(232,237,250,.5);
    }

    .content .card-footer {
        background-color: transparent;
    }

        .content .card-footer .card-footer-control {
            text-align: center;
            color: #d3dce6;
            display: block;
        }

            .content .card-footer .card-footer-control .fa {
                transition: .3s linear;
            }

            .content .card-footer .card-footer-control.collapsed .fa {
                transform: rotate(180deg);
            }

    .content .card:hover .card-footer .card-footer-control .fa {
        margin-left: -1.5rem;
        margin-left: -72px;
    }

    .content .card:hover .card-footer .card-footer-control .card-demo-text {
        margin-left: 1rem;
    }

    .content .card-footer .card-footer-control .card-demo-text {
        margin-left: 1.5rem;
        position: absolute;
        transition: all .3s linear;
    }

    .content .card:hover .card-footer .card-footer-control .card-demo-text:before {
        opacity: 1;
    }

    .content .card-footer .card-footer-control .card-demo-text:before {
        content: "隐藏代码";
        opacity: 0;
        transition: opacity .3s linear;
    }

    .content .card-footer .card-footer-control.collapsed .card-demo-text:before {
        content: "显示代码";
    }

    .content .card-footer .card-footer-control:hover {
        color: #409eff;
    }

    .content .card-footer pre {
        color: #e83e8c;
        margin-bottom: 0;
    }

    .content .card-footer .card-footer-code {
        background-color: #fafafa;
        margin: -12px -20px 12px -20px;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    }

    .content .code-label {
        font-weight: 500;
        color: #333;
        margin-bottom: 2px;
    }

    .content p {
        line-height: 2;
    }

        .content p:last-child {
            margin-bottom: 0;
        }

        .content code.highlight, .content p code, .content li code {
            display: inline-block;
            padding: 0px 8px;
            background-color: #e9ecef;
            margin: 0;
            border-radius: 4px;
            line-height: 20px;
        }

    .content .git img {
        height: 44px;
        width: auto;
        display: block;
    }

    .content .git .git-fork {
        display: flex;
        align-items: center;
        padding: 0 10px;
    }

    .content .git a {
        border: solid 1px #ddd;
        display: block;
        padding: 6px 10px;
        border-radius: 6px;
    }

    .content .git .git-fork img {
        height: 56px;
    }

    .content .git .git-fork span {
        font-size: 1.8rem;
        color: #1c3949;
        margin-left: 38px;
    }

    .content .sidebar-content ul li:not(:last-child) {
        padding-bottom: 0.5rem;
    }

.table-demo {
    border-collapse: collapse;
    width: 100%;
    background-color: #fff;
    font-size: 14px;
    margin-bottom: 45px;
    line-height: 1.5em;
}

    .table-demo th {
        text-align: left;
        white-space: nowrap;
        color: #495057;
        font-weight: 400;
        border-bottom: 1px solid #dcdfe6;
        max-width: 250px;
    }

    .table-demo td {
        color: #606266;
    }

    .table-demo td {
        border-bottom: 1px solid #dcdfe6;
        max-width: 250px;
    }

.table-container .table tbody tr.highlight,
.table-container .table-row.highlight {
    background-color: #409eff;
}

.table-attr {
    margin-top: 2rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.validation-message {
    color: red;
}

.badge-widget {
    display: inline-block;
    border: solid 1px #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    position: relative;
    transition: all .25s linear;
    cursor: pointer;
}

    .badge-widget:hover {
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(40, 167, 69, 0.5);
        border-color: #28a745 !important;
    }

    .badge-widget .badge {
        position: absolute;
        top: -6px;
        right: -6px;
        opacity: 0.8;
    }

.card-log {
    overflow: hidden auto;
    border: solid 1px #ddd;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    background-color: #174482;
    color: #fff;
}

    .card-log .log-item:not(:last-child) {
        margin-bottom: 0.5rem;
    }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1080;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.popover-input {
    width: 80px;
}

.pre-code {
    position: relative;
}

    .pre-code .btn-clipboard {
        position: absolute;
        top: .65rem;
        right: .65rem;
        z-index: 10;
        display: block;
        padding: .25rem .5rem;
        font-size: 65%;
        color: #007bff;
        background-color: #fff;
        border: 1px solid;
        border-radius: .25rem;
    }

        .pre-code .btn-clipboard:hover {
            color: #fff;
            background-color: #007bff;
        }

    .pre-code code {
        line-height: 1.8;
        font-size: 0.75rem;
        border: 1px solid #eaeefb;
        border-radius: 4px;
        padding: 10px 16px;
        -webkit-font-smoothing: auto;
        display: block;
        white-space: pre-wrap;
    }

    .pre-code .no-highlight code {
        color: #e83e8c;
    }

.chart .btn i + span {
    display: none;
}

.layout .header {
    background: #7dbcea;
    color: #fff;
    height: 64px;
    padding: 0 50px;
    line-height: 64px;
}

.layout .side {
    display: flex;
    height: 100%;
    background: #3ba0e9;
    color: #fff;
}

.layout-side .side {
    justify-content: center;
    align-items: center;
}

.layout-main .main {
    background: rgba(16, 142, 233, 1);
    color: #fff;
    min-height: 120px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
}

.layout-footer .footer {
    background: #7dbcea;
    color: #fff;
    padding: 24px 50px;
    line-height: 1.5;
    height: auto;
    display: block;
}

.circle-demo {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
}

    .circle-demo h1 {
        font-size: 26px;
        font-weight: 400;
    }

    .circle-demo i {
        font-style: normal;
        color: #3f414d;
    }

.drawer-demo .form-checkbox {
    margin-right: 1rem;
}

.drawer-demo .form-radio-group .form-checkbox:not(:first-child) {
    margin-left: 0;
}

.split-demo {
    height: 200px;
    width: 240px;
    border-color: rgba(0,0,0,.125);
    border-radius: 4px;
}

.split-demo-horizontal {
    height: 100px;
}

@media (min-width: 568px) {
    .split-demo {
        height: 200px;
        width: 480px;
    }

    .split-demo-horizontal {
        height: 100px;
    }
}

.popover-demo,
.tooltip-demo {
    height: 240px;
}

@media (min-width: 576px) {
    .content .form-inline .form-group {
        margin-bottom: 1rem;
    }

    .popover-demo input,
    .tooltip-demo input {
        width: 100px;
    }
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .header-img span {
        display: none;
    }

    .btn-bd-download {
        display: inline-block !important;
    }

    header.navbar {
        position: sticky;
        top: 0;
        z-index: 1040;
        height: 50px;
    }

    .section {
        flex-direction: row;
        display: flex;
    }

    .sidebar {
        width: 250px;
        height: calc(100vh - 50px);
        position: sticky;
        top: 50px;
        border-right: solid 1px #c0c4cc;
        background-color: #f0f0f0;
        color: #212529;
    }

        .sidebar .sidebar-content.collapse {
            /* Never collapse the sidebar for wide screens */
            display: block;
        }

    .main {
        width: calc(100% - 250px);
    }

        .main .top-row {
            position: sticky;
            top: 0;
        }

    .navbar-toggler {
        display: none;
    }

    .chart {
        max-width: 740px;
    }

        .chart .btn i + span {
            display: inline;
        }
}

.welcome {
    margin-bottom: 3rem;
    line-height: 1.75;
}

    .welcome .bar {
        padding: 1rem;
        height: 380px;
        display: flex;
        flex-direction: column;
    }

        .welcome .bar img {
            width: 100%;
            height: auto;
        }

        .welcome .bar .carousel-caption {
            position: static;
            margin-top: 1rem;
            color: #607D8B;
            border-top: solid 1px #dce3e8;
            height: 120px;
        }

    .welcome .carousel-img {
        flex: 1 1 auto;
    }

    .welcome .carousel {
        border-radius: 4px;
        border: 1px solid #dce3e8;
        padding: 1rem;
    }

.welcome-header {
    margin-bottom: 2rem;
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 2;
}

.welcome-body {
    font-size: 22px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

    .welcome-body .typed {
        color: #0073dc;
        font-weight: 500;
    }

    .welcome-body .typed-cursor {
        color: #0073dc;
    }

    .welcome-body .typed-cursor {
        animation: flash 1s ease-in-out infinite;
    }

        .welcome-body .typed-cursor.active {
            animation: none;
        }

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.welcome-footer {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

    .welcome-footer div:not(:last-child) {
        margin-bottom: 1rem;
    }

    .welcome-footer div {
        justify-content: space-between;
    }

    .welcome-footer .tag {
        cursor: pointer;
    }

.carousel-indicators li {
    background-color: #607D8B;
}

.intro p {
    font-size: 15px;
    color: #1a1a1a;
    letter-spacing: .41px;
    text-align: left;
    line-height: 24px;
}

.intro h3 {
    color: #1a1a1a;
    letter-spacing: .1px;
    text-align: left;
    line-height: 25px;
    font-weight: 400;
    margin: 15px 0;
    font-size: 1.25rem;
}

.donate {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    text-align: center;
    border-top: solid 1px #ddd;
}

    .donate h3 {
        margin-bottom: 1.5rem;
    }

    .donate .barcode {
        width: 280px;
    }

.footer-body {
    padding: 1rem;
    color: #fff;
    background-color: #5b6e84;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

    .footer-body h4 {
        margin: 1rem 0;
    }

    .footer-body ul {
        list-style: none;
        padding: 0;
        margin: 0;
        padding-left: 1rem;
    }

    .footer-body .footer-link {
        transition: all .3s linear;
        color: rgba(255,255,255,.9);
        text-decoration: none;
        font-size: 0.875rem;
        line-height: 2;
        display: block;
        cursor: pointer;
    }

        .footer-body .footer-link:hover {
            color: #40a9ff;
        }

        .footer-body .footer-link:not(:last-child) {
            margin-top: 1rem;
        }

.footer-info {
    background-color: #222;
    padding: 0 20px;
    line-height: 42px;
    color: #9d9d9d;
}

    .footer-info a {
        color: #9d9d9d;
    }

    .footer-info .footer-logo {
        width: 21px;
        height: 18px;
    }

    .footer-info .footer-lang {
        width: 15px;
        margin-right: 3px;
    }

@media (min-width: 576px) {
    .intro .card {
        border-color: #dce3e8;
        height: 263px;
        width: 100%;
        padding: 1rem;
        cursor: pointer;
        transition: all .3s ease-in-out;
    }

        .intro .card:hover,
        .coms-demo .card:hover {
            box-shadow: 0 1px 7px 0 rgba(0,0,0,0.05), 0 2px 8px 0 rgba(0,0,0,0.07), 0 3px 9px 0 rgba(0,0,0,0.06), 0 5px 10px 0 rgba(0,0,0,0.03);
        }

        .intro .card p, .intro .card, .intro .card h3 {
            text-align: center;
        }
}

@media (max-width: 576px) {
    .intro .card {
        border-color: transparent !important;
    }
}

@media (min-width: 768px) {
    .header-img span {
        display: none;
    }

    .btn-bd-download {
        display: inline-block !important;
    }

    .home-section {
        margin: 2rem;
    }

    .welcome-header {
        margin-top: 0;
        margin-bottom: 0;
    }

    .donate .barcode {
        width: 480px;
    }

    .footer-body {
        padding: 3rem;
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    .welcome .bar {
        height: 456px;
    }

    .welcome-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0 15px;
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .welcome .bar {
        height: 520px;
    }
}

.menu-demo .menu.is-vertical {
    width: 160px;
}

    .menu-demo .menu.is-vertical.is-collapsed {
        width: 70px;
    }

.menu-demo-bar i {
    transition: transform .3s linear;
}

.menu-demo-bar.is-collapsed i {
    transform: rotate(90deg);
}

.calendar .table-week tbody .none {
    color: #c0c4cc;
}

.calendar .table-week tbody .less {
    border-radius: 4px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 4px;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calendar .table-week tbody .ch {
    background: #28a745;
    color: #f8f9fa;
}

.calendar .table-week tbody .en {
    background: #007bff;
    color: #f8f9fa;
}

.page-layout-demo-list {
    margin: 0;
}

    .page-layout-demo-list li {
        margin: 0.5rem 0;
    }

.page-layout-demo-option {
    margin-top: 1.5rem;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 4px;
    padding: 1.5rem 1rem 1rem 1rem;
    position: relative;
}

    .page-layout-demo-option > p {
        position: absolute;
        top: -10px;
        padding: 0 0.5rem;
        background: #fff;
    }

    .page-layout-demo-option .page-layout-demo-option-height {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .page-layout-demo-option .tabs-body-content {
        margin: 0 -1rem -2rem -1rem;
    }

.page-layout-demo-footer-link {
    color: #fff;
}

#components-reconnect-modal {
    z-index: 1080 !important;
}

.scroll-demo {
    border: solid 1px #f1f1f1;
    padding: 1rem;
}

.coms-cate {
    position: relative;
}

    .coms-cate:not(:first-child) {
        margin-top: 1rem;
    }

    .coms-cate h3 {
        display: inline-block;
    }

    .coms-cate .badge {
        position: absolute;
        top: 0;
        margin-left: 0.5rem;
    }

.coms-demo {
    margin-top: 1rem;
}

    .coms-demo .card img {
        max-width: calc(100%);
    }

    .coms-demo .card .card-header {
        overflow: hidden;
        white-space: nowrap;
    }

    .coms-demo .card .card-body {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 200px;
    }

    .coms-demo a {
        width: calc(100%);
        height: calc(100%);
        color: inherit;
    }

    .coms-demo .card {
        width: 100%;
        height: 100%;
        transition: box-shadow .3s linear;
    }

@media (min-width: 768px) {
    .coms-demo .card {
        cursor: pointer;
    }
}

.coms-search {
    position: sticky;
    z-index: 1;
    top: 0;
}

    .coms-search .row {
        padding: 1rem 0;
        background: #fff;
    }

.coms-search-filter {
    height: 2rem;
    width: 100%;
    background: linear-gradient(rgba(255,255,255,1),rgba(255,255,255,0.8),rgba(255,255,255,0));
}

@media (min-width:768px) {
    .coms-search {
        top: 3rem;
    }
}

.listview-demo {
    height: 626px;
}

    .listview-demo img {
        margin-bottom: 1rem;
        border-radius: 0.25rem;
    }

    .listview-demo .listview-demo-desc {
        text-align: center;
    }

.demo-inputnumber {
    width: 160px;
}

.form-inline .demo-inputnumber > .form-control {
    width: inherit;
}

@media (min-width: 576px) {
    .form-inline .textarea-demo {
        word-break: break-all;
        height: auto;
        min-height: 35px;
        width: calc(100% - 100px);
    }
}

.ul-demo li {
    margin-bottom: 0.25rem;
}

.form-demo {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 4px;
    position: relative;
    padding-top: 1.5rem;
}

    .form-demo .legend {
        position: absolute;
        top: -10px;
        left: 30px;
        background-color: #fff;
        padding: 0 0.5rem;
    }

.footer-demo tfoot tr,
.footer-demo .table-row.table-footer .table-cell {
    color: #409eff;
    font-weight: bold;
}

.dropdown-item-demo {
    display: flex;
    align-items: center;
}

    .dropdown-item-demo span {
        flex: 1;
        padding: 0 0.5rem;
    }

.skeleton-demo .skeleton-content {
    text-align: center;
}

    .skeleton-demo .skeleton-content .skeleton-avatar {
        display: inline-block;
    }

.table-fixed-column-demo .table th:nth-child(1).fixed,
.table-fixed-column-demo .table td:nth-child(1).fixed {
    border-right-color: #dee2e6;
}

.table-fixed-column-demo .table th:nth-last-child(2),
.table-fixed-column-demo .table td:nth-last-child(2),
.table-fixed-column-demo2 .table th:nth-last-child(3),
.table-fixed-column-demo2 .table td:nth-last-child(2) {
    border-right-width: 0;
}

.swal-demo .form-group {
    justify-content: space-around;
}

    .swal-demo .form-group > div:first-child {
        font-size: 1rem;
    }

.swal-demo .swal2-icon {
    margin: 0;
    display: flex;
}

.table-wrap-header-demo .table th .table-cell span {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.install-prompt {
    position: fixed;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    z-index: 1071;
}

    .install-prompt .row {
        justify-content: center;
    }

.install-prompt-body {
    background-color: #54595f;
    color: #fff;
    padding: 0.5rem;
    display: flex;
    font-size: 1.5rem;
    border-radius: .25rem;
}

    .install-prompt-body .installButton {
        margin-left: auto;
        width: 4em;
    }

    .install-prompt-body .cancelButton {
        margin-left: 0.3rem;
        width: 4em;
    }

.culture-selector {
    display: flex;
    align-items: center;
}

    .culture-selector label {
        margin: 0;
        color: rgba(255,255,255,.5);
    }

    .culture-selector .form-select {
        width: 210px;
    }
